package com.dlwx.parttimetalent.bean;

import com.google.gson.annotations.SerializedName;

import java.util.List;

/**
 * Created by Administrator on 2017/12/21.
 */

public class ConfirmOrderBean {


    /**
     * code : 200
     * result : 确认订单页面数据获取成功
     * body : {"userinfo":{"headurl":"http://192.168.0.166/god/public/uploads/head/20171219/e84a7bea73bad7d00a2abb4fb708fafd.jpg","nickname":"空间里","long":"113.5433870","lat":"34.8251110","phone_no":"15136198902","range":"0m","remarkName":""},"worklist":{"labelprice":""},"bkyy":[{"date":"2017.11.04--2017.11.05(全天不可预约)","timelist":[]},{"date":"2017.11.06","timelist":[{"time":"10:20-12:20"},{"time":"14:20-16:20"}]},{"date":"2017.11.07","timelist":[{"time":"18:20-20:20"}]},{"date":"2017.11.07","timelist":[{"time":"14:20-16:20"}]}],"rewardlist":[{"price":"5"},{"price":"10"},{"price":"20"},{"price":"50"},{"price":"100"}]}
     */

    private int code;
    private String result;
    private BodyBean body;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getResult() {
        return result;
    }

    public void setResult(String result) {
        this.result = result;
    }

    public BodyBean getBody() {
        return body;
    }

    public void setBody(BodyBean body) {
        this.body = body;
    }

    public static class BodyBean {
        /**
         * userinfo : {"headurl":"http://192.168.0.166/god/public/uploads/head/20171219/e84a7bea73bad7d00a2abb4fb708fafd.jpg","nickname":"空间里","long":"113.5433870","lat":"34.8251110","phone_no":"15136198902","range":"0m","remarkName":""}
         * worklist : {"labelprice":""}
         * bkyy : [{"date":"2017.11.04--2017.11.05(全天不可预约)","timelist":[]},{"date":"2017.11.06","timelist":[{"time":"10:20-12:20"},{"time":"14:20-16:20"}]},{"date":"2017.11.07","timelist":[{"time":"18:20-20:20"}]},{"date":"2017.11.07","timelist":[{"time":"14:20-16:20"}]}]
         * rewardlist : [{"price":"5"},{"price":"10"},{"price":"20"},{"price":"50"},{"price":"100"}]
         */

        private UserinfoBean userinfo;
        private WorklistBean work;
        private List<BkyyBean> bkyy;
        private List<RewardlistBean> rewardlist;

        public UserinfoBean getUserinfo() {
            return userinfo;
        }

        public void setUserinfo(UserinfoBean userinfo) {
            this.userinfo = userinfo;
        }

        public WorklistBean getWorklist() {
            return work;
        }

        public void setWorklist(WorklistBean work) {
            this.work = work;
        }

        public List<BkyyBean> getBkyy() {
            return bkyy;
        }

        public void setBkyy(List<BkyyBean> bkyy) {
            this.bkyy = bkyy;
        }

        public List<RewardlistBean> getRewardlist() {
            return rewardlist;
        }

        public void setRewardlist(List<RewardlistBean> rewardlist) {
            this.rewardlist = rewardlist;
        }

        public static class UserinfoBean {
            /**
             * headurl : http://192.168.0.166/god/public/uploads/head/20171219/e84a7bea73bad7d00a2abb4fb708fafd.jpg
             * nickname : 空间里
             * long : 113.5433870
             * lat : 34.8251110
             * phone_no : 15136198902
             * range : 0m
             * remarkName :
             */

            private String headurl;
            private String nickname;
            @SerializedName("long")
            private String longX;
            private String lat;
            private String phone_no;
            private String range;
            private String remarkName;

            public String getHeadurl() {
                return headurl;
            }

            public void setHeadurl(String headurl) {
                this.headurl = headurl;
            }

            public String getNickname() {
                return nickname;
            }

            public void setNickname(String nickname) {
                this.nickname = nickname;
            }

            public String getLongX() {
                return longX;
            }

            public void setLongX(String longX) {
                this.longX = longX;
            }

            public String getLat() {
                return lat;
            }

            public void setLat(String lat) {
                this.lat = lat;
            }

            public String getPhone_no() {
                return phone_no;
            }

            public void setPhone_no(String phone_no) {
                this.phone_no = phone_no;
            }

            public String getRange() {
                return range;
            }

            public void setRange(String range) {
                this.range = range;
            }

            public String getRemarkName() {
                return remarkName;
            }

            public void setRemarkName(String remarkName) {
                this.remarkName = remarkName;
            }
        }

        public static class WorklistBean {
            /**
             * labelprice :
             */

            private String labelprice;
            private String labelname;
            private String score;
            private  int labeltime;
            private  int labelid;
            private  int labeltype;
            private  int mintime;

            public String getLabelname() {
                return labelname;
            }

            public void setLabelname(String labelname) {
                this.labelname = labelname;
            }

            public String getScore() {
                return score;
            }

            public void setScore(String score) {
                this.score = score;
            }

            public int getLabeltime() {
                return labeltime;
            }

            public void setLabeltime(int labeltime) {
                this.labeltime = labeltime;
            }

            public int getLabelid() {
                return labelid;
            }

            public void setLabelid(int labelid) {
                this.labelid = labelid;
            }

            public int getLabeltype() {
                return labeltype;
            }

            public void setLabeltype(int labeltype) {
                this.labeltype = labeltype;
            }

            public int getMintime() {
                return mintime;
            }

            public void setMintime(int mintime) {
                this.mintime = mintime;
            }

            public String getLabelprice() {
                return labelprice;
            }

            public void setLabelprice(String labelprice) {
                this.labelprice = labelprice;
            }
        }

        public static class BkyyBean {
            /**
             * date : 2017.11.04--2017.11.05(全天不可预约)
             * timelist : []
             */

            private String date;
            private List<TimeListBean> timelist;

            public String getDate() {
                return date;
            }

            public void setDate(String date) {
                this.date = date;
            }

            public List<TimeListBean> getTimelist() {
                return timelist;
            }

            public void setTimelist(List<TimeListBean> timelist) {
                this.timelist = timelist;
            }

            public static class TimeListBean{
                private String time;

                public String getTime() {
                    return time;
                }

                public void setTime(String time) {
                    this.time = time;
                }
            }
        }

        public static class RewardlistBean {
            /**
             * price : 5
             */

            private String price;

            public String getPrice() {
                return price;
            }

            public void setPrice(String price) {
                this.price = price;
            }
        }
    }

}
